package com.scoy.honeymei.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.ocnyang.cartlayout.bean.ChildItemBean;

/**
 * ClassName:      com.scoy.honeymei.bean
 * Description:
 * Author:         GaoZhan & Administrator
 * UpdateDate:     2019/10/28/0028$ 下午 14:14$
 * UpdateRemark:   更新内容
 */
public class GoodsOrderBean extends ChildItemBean implements Parcelable {


    /**
     * id : 3
     * image : /uploads/20190719/f226c883f7d87c0fb5a1e1e6b6155945.png
     * images : /uploads/20190719/f226c883f7d87c0fb5a1e1e6b6155945.png
     * name : 布娃娃
     * money : 88.00
     * number : 1
     * content : 11
     * status : 1
     * shop_id : shanghu
     * goodscarid : 1
     * goodsselect : 1
     * "status": "0已下架 1未下架"
     * "fx_title": ""//分享标题
     * "fx_miaoshu": ""//分享描述
     * "fx_image": ""//分享图标
     * "fx_url": ""//分享h5地址
     * "paytype": 1//支付类型，1=第三方、2=原生支付
     */

    private int id;
    private String image;
    private String images;
    private String name;
    private String money;
    private int number;
    private String content;
    private String status;
    private int shop_id;
    private String shop_name;
    private int goodscarid;
    private int goodsselect;
    private String fx_title;
    private String fx_miaoshu;
    private String fx_image;
    private String meet_money;
    private String freight;

    private String fx_url;
    private String paytype;
    private String star;
    private int starTemp;

    protected GoodsOrderBean(Parcel in) {
        id = in.readInt();
        image = in.readString();
        images = in.readString();
        name = in.readString();
        money = in.readString();
        number = in.readInt();
        content = in.readString();
        status = in.readString();
        shop_id = in.readInt();
        shop_name = in.readString();
        goodscarid = in.readInt();
        goodsselect = in.readInt();
        fx_title = in.readString();
        fx_miaoshu = in.readString();
        fx_image = in.readString();
        meet_money = in.readString();
        freight = in.readString();
        fx_url = in.readString();
        paytype = in.readString();
        star = in.readString();
        starTemp = in.readInt();
    }

    public static final Creator<GoodsOrderBean> CREATOR = new Creator<GoodsOrderBean>() {
        @Override
        public GoodsOrderBean createFromParcel(Parcel in) {
            return new GoodsOrderBean(in);
        }

        @Override
        public GoodsOrderBean[] newArray(int size) {
            return new GoodsOrderBean[size];
        }
    };

    public String getMeet_money() {
        return meet_money;
    }

    public void setMeet_money(String meet_money) {
        this.meet_money = meet_money;
    }

    public String getFreight() {
        return freight;
    }

    public void setFreight(String freight) {
        this.freight = freight;
    }

    public GoodsOrderBean(int id, String image, String name, String money, int starTemp) {
        this.id = id;
        this.image = image;
        this.name = name;
        this.money = money;
        this.starTemp = starTemp;
    }

    public String getStar() {
        return star;
    }

    public void setStar(String star) {
        this.star = star;
    }

    public int getStarTemp() {
        return starTemp;
    }

    public void setStarTemp(int starTemp) {
        this.starTemp = starTemp;
    }





    public int getShop_id() {
        return shop_id;
    }

    public void setShop_id(int shop_id) {
        this.shop_id = shop_id;
    }

    public String getShop_name() {
        return shop_name;
    }

    public void setShop_name(String shop_name) {
        this.shop_name = shop_name;
    }

    public String getFx_title() {
        return fx_title;
    }

    public void setFx_title(String fx_title) {
        this.fx_title = fx_title;
    }

    public String getFx_miaoshu() {
        return fx_miaoshu;
    }

    public void setFx_miaoshu(String fx_miaoshu) {
        this.fx_miaoshu = fx_miaoshu;
    }

    public String getFx_image() {
        return fx_image;
    }

    public void setFx_image(String fx_image) {
        this.fx_image = fx_image;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public String getFx_url() {
        return fx_url;
    }

    public void setFx_url(String fx_url) {
        this.fx_url = fx_url;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getGoodscarid() {
        return goodscarid;
    }

    public void setGoodscarid(int goodscarid) {
        this.goodscarid = goodscarid;
    }

    public int getGoodsselect() {
        return goodsselect;
    }

    public void setGoodsselect(int goodsselect) {
        this.goodsselect = goodsselect;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeInt(id);
        parcel.writeString(image);
        parcel.writeString(images);
        parcel.writeString(name);
        parcel.writeString(money);
        parcel.writeInt(number);
        parcel.writeString(content);
        parcel.writeString(status);
        parcel.writeInt(shop_id);
        parcel.writeString(shop_name);
        parcel.writeInt(goodscarid);
        parcel.writeInt(goodsselect);
        parcel.writeString(fx_title);
        parcel.writeString(fx_miaoshu);
        parcel.writeString(fx_image);
        parcel.writeString(meet_money);
        parcel.writeString(freight);
        parcel.writeString(fx_url);
        parcel.writeString(paytype);
        parcel.writeString(star);
        parcel.writeInt(starTemp);
    }
}
